from django.urls import path
from . import views

urlpatterns = [
    path('login/<str:version>/',views.LoginAPIView.as_view(),name='user-login'),
    path('add/<str:version>/',views.UserAPIView.as_view(),name='user-add'),
    path('all/<str:version>/',views.UsersAPIView.as_view({'get':'list'}),name='user-all'),
    path('async/<str:version>/',views.AsyncTaskAPIView.as_view(),name='async-task'),
    path('scheduler/<str:version>/',views.SchedulerTaskAPIView.as_view(),name='scheduler-task'),
]